package com.gyz.cfmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gyz.cfmall.product.vo.SpuSaveVo;
import com.gyz.common.utils.PageUtils;
import com.gyz.cfmall.product.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author gong_yuzhuo
 * @email gongyuzhcho@163.com
 * @date 2021-10-17 10:17:22
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void savesupInfo(SpuSaveVo vo);

    PageUtils queryPageByCondtion(Map<String, Object> params);

    /**
     * 商品上架
     * @param spuId :
     * @return void
     */
    void up(Long spuId);
}

